Program net device MAC addresses after initializing
authorBen Warren <[email protected]>
Mon, 26 Apr 2010 18:11:46 +0000 (11:11 -0700)
committerBen Warren <[email protected]>
Mon, 3 May 2010 21:52:49 +0000 (14:52 -0700)
commitecee9324d73555e744593f3e0d387bec4c566f55
treee0ddc06decbe33b90c867d1751272e933f5e01ec
parentc960b13ed22d9ea570957379f9f7f2f37d87ef08
Program net device MAC addresses after initializing

Add a new function to the eth_device struct for programming a network
controller's hardware address.

After all network devices have been initialized and the proper MAC address
for each has been determined, make a device driver call to program the
address into the device.  Only device instances with valid unicast addresses
will be programmed.

Signed-off-by: Ben Warren <[email protected]>
Acked-by: Detlev Zundel <[email protected]>
Tested-by: Prafulla Wadaskar <[email protected]>
Tested-by: Heiko Schocher <[email protected]>
Tested-by: Thomas Chou <[email protected]>
README
doc/README.drivers.eth
doc/README.enetaddr
include/net.h
net/eth.c